package com.sghd.fight.module.game.service.match;

import com.sghd.pojo.fight.game.PlayerVo;
import com.sghd.pojo.fight.game.RoomType;

import java.util.Date;

public interface Matcher {
    /** 进入匹配等待*/
    void add(PlayerVo player);

    /** 开始匹配*/
    void match(Date now);

    void quit(long playerId);

    void timer(Date now);

    int size();

    RoomType getType();

    void kick();

    boolean containsKey(long playerId);
}
